package edu.ccut.saturn.studio.wfg.dialog.userdialog;

import java.util.ArrayList;
import java.util.List;

@SuppressWarnings("unchecked")
public class OrgnazitionTree implements ITreeEntry<ISecondTree>{

	private Long id;
	private String name;
	private List<ISecondTree> list = new ArrayList<ISecondTree>(); 

	public OrgnazitionTree() {
	}

	public OrgnazitionTree(String name) {
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<ISecondTree> getChildren() {
		return this.list;
	}

	public void setChildren(List<ISecondTree> children) {
		this.list = children;
	}
}
